package com.example.testcentral.designpattern.factorypattern

import android.util.Log

/**
 * File Name: Pizza
 * Author: zhangzhenzhong
 * Created on: 2024/7/10
 * Description:
 */
abstract class Pizza {
    open lateinit var name:String
    open lateinit var sauce:String

    open fun prapare(){
        Log.d(this.javaClass.name, "prapare: $name")
        Log.d(this.javaClass.name, "adding: $sauce")
    }
    open fun bake(){
        Log.d(javaClass.name, "bake: ")
    }
    open fun cut(){
        Log.d(javaClass.name, "cut: ")
    }
    open fun box(){
        Log.d(javaClass.name, "box: ")
    }

}